<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>[%$ESPCMS_SOFT_TITLE%]</title>
		<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_style_font_icon.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_style_public.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_all.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_framework.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_select.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/pageload.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery-ui.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery.cookie.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_dialog.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/md5.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/json.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/bootstrap.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/lngpack_cn.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_form.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_formvalidation.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_dialog.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_function.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_tool.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_page.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_select.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_checkbox.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_select_checkbox.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_batch.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_tab.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/nprogress.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/iframeResizer.contentWindow.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_multiple.js"></script>
		<script type="text/javascript">
			$(document).ready(function () {
				banpageKey();
				$('input[type=checkbox],input[type=radio]').espcms_checkbox();
				$("[placeholder]").tooltip();
				$("#espcms_saveInfo").espcms_formvalidation({focusName: "#modelname"});
				$('#espcms_saveInfo').ajaxForm({
					type: 'POST',
					url: '[%$link.save%]',
					dataType: 'json',
					beforeSubmit: function () {
						parent.espcms_are_loading();
					},
					success: function (data) {
						parent.$("#espcms_are_loading").dialog("close");
						parent.$("body").append(data.data);
						if (data.code === 'true') {
							parent.$.espcms_sticky(data.message, {'autoclose': 3000});
							parent.frames['[%$par_iframes_name%]'].refresh('ajax_list');
							parent.$(this).espcms_window_tab('close', {'iframeName': '[%$iframes_name%]'});
						} else {
							var botton = [
								{
									text: "[%pack:botton_pack-espcms_botton_colse%]",
									class: "btn btn-lightgray",
									click: function () {
										parent.$(this).dialog("close");
										parent.$(this).espcms_window_tab('close', {'iframeName': '[%$iframes_name%]'});
									}
								}
							];
							parent.espcms_public_dialog(data.domid_name, botton, 600);
						}
						$(window).unbind('beforeunload');
					}
				});
				$('.espcms_save_cancel').espcms_window_tab('closeTab');
				load_tabclick('.tab_click');
				$('.espcms_dialog_link').espcms_dig();
			});
		</script>
	</head>
	<body class="espcms_style_all">
		<div class="main">
			<div class="espcms_center_content_list">
				<div class="panel">
					<div class="panel-body form_bottom_page">
						<form class="form-horizontal admin-form" id="espcms_saveInfo" action="[%$link.save%]">
							<input type="hidden" name="token_key" id="token_key" value="[%$token.token_key%]"/>
							<input type="hidden" name="token_name" id="token_name" value="[%$token.token_name%]"/>
							<input type="hidden" name="mid" id="mid" value="[%$read.mid%]"/>
							<input type="hidden" name="savetype" value="edit"/>
							<div class="section-divider mb40"><span>[%pack:article_pack-espcms_article_model_button_edit%]</span></div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_model_modelname%]</label>
								<div class="col-sm-9">
									<input type="text" name="modelname" class="form-control" id="modelname" value="[%$read.modelname%]" maxlength="50" data-validation-minlength="2" data-validation-maxlength="50" placeholder="[%pack:article_pack-espcms_article_model_modelname_title%]" title="[%pack:article_pack-espcms_article_model_modelname_title%]" data-validation-msg="[%pack:article_pack-espcms_article_model_modelname_validation_msg%]"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_model_pagemax%]</label>
								<div class="col-sm-9">
									<input type="text" name="pagemax" class="form-control" id="pagemax" maxlength="50" value="[%$read.pagemax%]" data-validation="^[1-9]{1}[0-9]*$" placeholder="[%pack:article_pack-espcms_article_model_pagemax_title%]" title="[%pack:article_pack-espcms_article_model_pagemax_title%]" data-validation-msg="[%pack:article_pack-espcms_article_model_pagemax_validation_msg%]"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_model_pagesylte%]</label>
								<div class="col-sm-4">
									<select class="selectpicker form-control" name="pagesylte" id="pagesylte" data-size="8" title="[%pack:article_pack-espcms_article_model_pagesylte_title%]" data-validation="^[1-2]{1}$" data-validation-msg="[%pack:article_pack-espcms_article_model_pagesylte_validation_msg%]">
										<option value="1" [%if $read.pagesylte==1%]selected="selected"[%/if%]>[%pack:article_pack-espcms_article_model_pagesylte_1%]</option>
										<option value="2" [%if $read.pagesylte==2%]selected="selected"[%/if%]>[%pack:article_pack-espcms_article_model_pagesylte_2%]</option>
									</select>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_model_listtitlestyle%]</label>
								<div class="col-sm-9">
									<input type="text" name="listtitlestyle" class="form-control" id="listtitlestyle" value="[%$read.listtitlestyle%]" maxlength="200" data-validation-minlength="2" data-validation-maxlength="200" placeholder="[%pack:article_pack-espcms_article_model_listtitlestyle_title%]" title="[%pack:article_pack-espcms_article_model_listtitlestyle_title%]" data-validation-msg="[%pack:article_pack-espcms_article_model_listtitlestyle_validation_msg%]"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label"></label>
								<div class="col-sm-9"><span class="input_exp"> <span class="exp_icon espcms_icon_fa espcms_icon_fa-exclamation-circle" aria-hidden="true" ></span>[%pack:article_pack-espcms_article_model_listtitlestyle_str%]</span></div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_model_readtitlestyle%]</label>
								<div class="col-sm-9">
									<input type="text" name="readtitlestyle" class="form-control" id="readtitlestyle" value="[%$read.readtitlestyle%]" maxlength="200" data-validation-minlength="2" data-validation-maxlength="200" placeholder="[%pack:article_pack-espcms_article_model_readtitlestyle_title%]" title="[%pack:article_pack-espcms_article_model_readtitlestyle_title%]" data-validation-msg="[%pack:article_pack-espcms_article_model_readtitlestyle_validation_msg%]"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label"></label>
								<div class="col-sm-9"><span class="input_exp"> <span class="exp_icon espcms_icon_fa espcms_icon_fa-exclamation-circle" aria-hidden="true" ></span>[%pack:article_pack-espcms_article_model_readtitlestyle_str%]</span></div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_model_istsn%]</label>
								<div class="col-sm-9 pt5">
									<input type="radio" name="istsn" id="istsn" class="tab_click" open_list=".tsnstyle_div" value="1" [%if $read.istsn==1%]checked[%/if%]/><span class="pr10">[%pack:article_pack-espcms_article_model_istsn_0%]</span>
									<input type="radio" name="istsn" id="istsn" class="tab_click" close_list=".tsnstyle_div" value="0" [%if $read.istsn==0%]checked[%/if%]/><span class="pr10">[%pack:article_pack-espcms_article_model_istsn_1%]</span>
								</div>
							</div>
							<div class="form-group tsnstyle_div[%if $read.istsn==0%] displaynone[%/if%]">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_model_tsnstyle%]</label>
								<div class="col-sm-9">
									<input type="text" name="tsnstyle" class="form-control" id="tsnstyle" value="[%$read.tsnstyle%]" maxlength="200" data-validation-minlength="2" data-validation-maxlength="200" link-validation="istsn" link-gettype="radio" link-getvalue="1" placeholder="[%pack:article_pack-espcms_article_model_tsnstyle_title%]" title="[%pack:article_pack-espcms_article_model_tsnstyle_title%]" data-validation-msg="[%pack:article_pack-espcms_article_model_tsnstyle_validation_msg%]"/>
								</div>
							</div>
							<div class="form-group tsnstyle_div[%if $read.istsn==0%] displaynone[%/if%]">
								<label class="col-sm-2 control-label"></label>
								<div class="col-sm-9"><span class="input_exp"> <span class="exp_icon espcms_icon_fa espcms_icon_fa-exclamation-circle" aria-hidden="true" ></span>[%pack:article_pack-espcms_article_model_tsnstyle_str%]</span></div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_model_isbase%]</label>
								<div class="col-sm-9 pt5">
									<input type="radio" name="isbase" value="1"  class="tab_click" close_list=".isbase_div" [%if $read.isbase==1%]checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_open_1%]</span>
									<input type="radio" name="isbase" value="0"  class="tab_click" open_list=".isbase_div" [%if $read.isbase==0%]checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_close%]</span>
									<span class="input_exp"> <span class="exp_icon espcms_icon_fa espcms_icon_fa-exclamation-circle" aria-hidden="true" ></span>[%pack:article_pack-espcms_article_model_isbase_title%]</span>
								</div>
							</div>
							<div class="form-group isbase_div [%if $read.isbase==1%]displaynone[%/if%]">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_index_templates%]</label>
								<div class="col-sm-9">
									<div class="input-group">
										<input type="text" name="index_templates" class="form-control" id="index_templates" data-validation="^[\w]+$" link-validation="isbase" link-gettype="radio" link-getvalue="0" value="[%$read.index_templates%]" data-display-type="top" placeholder="[%pack:article_pack-espcms_article_index_templates_title%]" title="[%pack:article_pack-espcms_article_index_templates_title%]" data-validation-msg="[%pack:article_pack-espcms_article_index_templates_validation_msg%]"/>
										<span class="input-group-btn">
											<button type="button" class="btn btn-orange espcms_dialog_link" id="add_item" data-w="800px" data-h="520px" data-url="[%$templates_select%]&inputname=index_templates&iframeName=[%$iframes_name%]&template_type=web&template_dir=article" data-title="[%pack:botton_pack-espcms_botton_select_templates%]"><i class="espcms_icon_fa espcms_icon_fa espcms_icon_fa-clipboard"></i>[%pack:botton_pack-espcms_botton_select_templates%]</button>
										</span>
									</div>
								</div>
							</div>
							<div class="form-group isbase_div [%if $read.isbase==1%]displaynone[%/if%]">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_list_template%]</label>
								<div class="col-sm-9">
									<div class="input-group">
										<input type="text" name="list_templates" class="form-control" id="list_templates" data-validation="^[\w]+$" link-validation="isbase" link-gettype="radio" link-getvalue="0" value="[%$read.list_templates%]" data-display-type="top" placeholder="[%pack:article_pack-espcms_article_list_template_title%]" title="[%pack:article_pack-espcms_article_list_template_title%]" data-validation-msg="[%pack:article_pack-espcms_article_list_template_validation_msg%]"/>
										<span class="input-group-btn">
											<button type="button" class="btn btn-orange espcms_dialog_link" id="add_item" data-w="800px" data-h="520px" data-url="[%$templates_select%]&inputname=list_templates&iframeName=[%$iframes_name%]&template_type=web&template_dir=article" data-title="[%pack:botton_pack-espcms_botton_select_templates%]"><i class="espcms_icon_fa espcms_icon_fa espcms_icon_fa-clipboard"></i>[%pack:botton_pack-espcms_botton_select_templates%]</button>
										</span>
									</div>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_list_readtemplate%]</label>
								<div class="col-sm-9">
									<div class="input-group">
										<input type="text" name="read_templates" class="form-control" id="read_templates" data-validation="^[\w]+$" value="[%$read.read_templates%]" data-display-type="top" placeholder="[%pack:article_pack-espcms_article_list_readtemplate_title%]" title="[%pack:article_pack-espcms_article_list_readtemplate_title%]" data-validation-msg="[%pack:article_pack-espcms_article_list_readtemplate_validation_msg%]"/>
										<span class="input-group-btn">
											<button type="button" class="btn btn-orange espcms_dialog_link" id="add_item" data-w="800px" data-h="520px" data-url="[%$templates_select%]&inputname=read_templates&iframeName=[%$iframes_name%]&template_type=web&template_dir=article" data-title="[%pack:botton_pack-espcms_botton_select_templates%]"><i class="espcms_icon_fa espcms_icon_fa espcms_icon_fa-clipboard"></i>[%pack:botton_pack-espcms_botton_select_templates%]</button>
										</span>
									</div>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_model_isalbum%]</label>
								<div class="col-sm-9 pt5">
									<input type="radio" name="isalbum" value="1" [%if $read.isalbum==1%]checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_open_1%]</span>
									<input type="radio" name="isalbum" value="0" [%if $read.isalbum==0%]checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_close%]</span>
									<span class="input_exp"> <span class="exp_icon espcms_icon_fa espcms_icon_fa-exclamation-circle" aria-hidden="true" ></span>[%pack:article_pack-espcms_article_model_isalbum_title%]</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_model_isextid%]</label>
								<div class="col-sm-9 pt5">
									<input type="radio" name="isextid" value="1" [%if $read.isextid==1%]checked[%/if%]><span class="pr10">[%pack:public_pack-espcms_lable_open_1%]</span>
									<input type="radio" name="isextid" value="0" [%if $read.isextid==0%]checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_close%]</span>
									<span class="input_exp"> <span class="exp_icon espcms_icon_fa espcms_icon_fa-exclamation-circle" aria-hidden="true" ></span>[%pack:article_pack-espcms_article_model_isextid_title%]</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_model_issid%]</label>
								<div class="col-sm-9 pt5">
									<input type="radio" name="issid" value="1" [%if $read.issid==1%]checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_open_1%]</span>
									<input type="radio" name="issid" value="0" [%if $read.issid==0%]checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_close%]</span>
									<span class="input_exp"> <span class="exp_icon espcms_icon_fa espcms_icon_fa-exclamation-circle" aria-hidden="true" ></span>[%pack:article_pack-espcms_article_model_issid_title%]</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_model_isfgid%]</label>
								<div class="col-sm-9 pt5">
									<input type="radio" name="isfgid" value="1" [%if $read.isfgid==1%]checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_open_1%]</span>
									<input type="radio" name="isfgid" value="0" [%if $read.isfgid==0%]checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_close%]</span>
									<span class="input_exp"> <span class="exp_icon espcms_icon_fa espcms_icon_fa-exclamation-circle" aria-hidden="true" ></span>[%pack:article_pack-espcms_article_model_isfgid_title%]</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_model_islinkdid%]</label>
								<div class="col-sm-9 pt5">
									<input type="radio" name="islinkdid" value="1" [%if $read.islinkdid==1%]checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_open_1%]</span>
									<input type="radio" name="islinkdid" value="0" [%if $read.islinkdid==0%]checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_close%]</span>
									<span class="input_exp"> <span class="exp_icon espcms_icon_fa espcms_icon_fa-exclamation-circle" aria-hidden="true" ></span>[%pack:article_pack-espcms_article_model_islinkdid_title%]</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_model_isques%]</label>
								<div class="col-sm-9 pt5">
									<input type="radio" name="isques" value="1" [%if $read.isques==1%]checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_open_1%]</span>
									<input type="radio" name="isques" value="0" [%if $read.isques==0%]checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_close%]</span>
									<span class="input_exp"> <span class="exp_icon espcms_icon_fa espcms_icon_fa-exclamation-circle" aria-hidden="true" ></span>[%pack:article_pack-espcms_article_model_isques_title%]</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_model_isorder%]</label>
								<div class="col-sm-9 pt5">
									<input type="radio" name="isorder" value="1" class="tab_click" open_list=".opid_div" [%if $read.isorder==1%]checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_open_1%]</span>
									<input type="radio" name="isorder" value="0" class="tab_click" close_list=".opid_div" [%if $read.isorder==0%]checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_close%]</span>
									<span class="input_exp"> <span class="exp_icon espcms_icon_fa espcms_icon_fa-exclamation-circle" aria-hidden="true" ></span>[%pack:article_pack-espcms_article_model_isorder_title%]</span>
								</div>
							</div>
							<div class="form-group opid_div[%if $read.isorder==0%] displaynone[%/if%]">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_model_opid%]</label>
								<div class="col-sm-4">
									<select class="selectpicker form-control" name="opid" id="opid" data-size="8" title="[%pack:article_pack-espcms_article_model_opid_title%]">
									[%forlist from=$paylist key=i%]
									<option value="[%$paylist[i].opid%]" [%if $paylist[i].selected=='selected'%]selected="selected"[%/if%]>[%$paylist[i].payname%]</option>
									[%/forlist%]
									</select>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_model_ismessage%]</label>
								<div class="col-sm-9 pt5">
									<input type="radio" name="ismessage" value="1" [%if $read.ismessage==1%]checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_open_1%]</span>
									<input type="radio" name="ismessage" value="0" [%if $read.ismessage==0%]checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_close%]</span>
									<span class="input_exp"> <span class="exp_icon espcms_icon_fa espcms_icon_fa-exclamation-circle" aria-hidden="true" ></span>[%pack:article_pack-espcms_article_model_ismessage_title%]</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_model_ispurview%]</label>
								<div class="col-sm-9 pt5">
									<input type="radio" name="ispurview" value="1" [%if $read.ispurview==1%]checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_open_1%]</span>
									<input type="radio" name="ispurview" value="0" [%if $read.ispurview==0%]checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_close%]</span>
									<span class="input_exp"> <span class="exp_icon espcms_icon_fa espcms_icon_fa-exclamation-circle" aria-hidden="true" ></span>[%pack:article_pack-espcms_article_model_ispurview_title%]</span>
								</div>
							</div>
							<div class="form_button">
								<button type="submit" class="btn btn-green min-w-150" formmethod="POST">[%pack:botton_pack-espcms_botton_save_ok%]</button>
								<button type="button" class="btn btn-lightgray min-w-150 espcms_save_cancel">[%pack:botton_pack-espcms_botton_save_cancel_edit%]</button>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
		[%link file="public/load.html"%]
		[%link file="public/load_height.html"%]
	</body>
</html>
